<div class="row">
 <div class="span3 bs-docs-sidebar ">
 	<*include file="<*$controller*>/location.tpl"*>
  </div>
  
<div class="span7">
  <div class="span5" style="margin-bottom:20px;">
       <input type="button" class="btn btn-success" value="新增商品" onclick="window.location='/<*$controller*>/addproduct'" >
  </div>	    


<table class="table">
<tr>
<th>序号</th>
<th>商品名称</th>
<th>商品描述</th>
<th>&nbsp;</th>
</tr>
   <*foreach from=$service item=item key=key name=foo*>
   <tr>
   <td><*$smarty.foreach.foo.iteration*></td>
   <td><*$item.productname*></td>
   <td><*$item.productdetail*></td>
   <td>&nbsp;</td>
   </tr>
  <*/foreach*>
</table>
</div>
</div>
